package dto

import (
	"tuowei.com/app/admin/models"
	"tuowei.com/common/dto"
)

type GetOrderListRequest struct {
	dto.Pagination `search:"-"`
	Status         int  `json:"status" form:"status" comment:"状态"`                 // 订单状态
	CompletePay    *int `json:"complete_pay" form:"complete_pay" comment:"是否已经付款"` // 0-未付款，1-已付款
}

type GetOrderDetailRequest struct {
	Id int `uri:"id"`
}

type FollowPayedOrder struct {
	Id              int     `json:"id" binding:"required"`
	ActualIncome    float64 `json:"actual_income"`    //实收款
	IdCard          string  `json:"id_card"`          //身份证号
	ReceiptNumber   string  `json:"receipt_number"`   //收据编号
	AgreementNumber string  `json:"agreement_number"` //协议编号
	FollowUp        string  `json:"follow_up"`        //跟进记录
	Remarks         string  `json:"remarks"`          //备注
}

type FollowUnpaidOrder struct {
	Id              int                    `json:"id" binding:"required"`
	FollowUp        string                 `json:"follow_up"`        //跟进记录
	FollowDirection models.FollowDirection `json:"follow_direction"` // 去向
}

type OrderBindContractRequest struct {
	Id  int    `json:"id" binding:"required"` //线下订单id
	Url string `json:"url" binding:"required"`
}
